package com.szl.yeb.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.szl.yeb.entity.Role;
import com.szl.yeb.common.PageResult;

import java.util.List;

/**
 * (Role)表服务接口
 *
 * @author szl
 * @since 2022-08-24 16:21:28
 */
public interface RoleService extends IService<Role> {

    PageResult getPage(Integer currentPage, Integer size, Role role);

    List<Role> getRolesByAdminId(Integer adminId);

    Boolean deleteRoleAndAssociations(Integer rid);
}

